package com.sayai.work.tools.overtimes;

import com.deepoove.poi.XWPFTemplate;
import com.sayai.work.tools.overtimes.dao.RecordDao;
import com.sayai.work.tools.overtimes.data.OtRecordsEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

@SpringBootApplication
public class OvertimesApplication {



    public static void main(String[] args) throws IOException {
        SpringApplication.run(OvertimesApplication.class, args);
//        ApplicationContext context = SpringUtil.getApplicationContext();
//        WorkerServices w = context.getBean(WorkerServices.class);// 注意是UserServiceI ， 不是UserServiceImpl
//        w.makeOvertime();

    }

}
